home *** CD-ROM | disk | FTP | other *** search
/ Wildcat Gold - The Optical BBS / Wildcat Gold - The Optical BBS (The Golden ROM Series)(Volume 4 Number 1)(The Digital Publishing Company)(1992).ISO / sdn / menwmen1.sdn / INSTALL.DAT < prev    next >
Text File  |  1991-09-29  |  3KB  |  158 lines

  1. /*
  2.  *    FILE: EXAMPLE1.DAT
  3.  *
  4.  *    DESC:
  5.  *        This sample script file shows the general format of a script file.
  6.  *        The new @ChDir and @ChDrive commands are also demonstrated in the
  7.  *        @Finish/@EndFinish block.
  8.  */
  9.  
  10. @DefineProject
  11.     @Name         = "Men on Women/Women on Men"             /* Product Textual Name:  */
  12.     @Version    = "1.00"
  13.     @Subdir     = "MenWomen"        /* this is where Lattice puts files */
  14.     @OutDrive     = Z
  15.  
  16. /*    @Group         = "A"
  17.  */
  18.  
  19. @EndProject
  20.  
  21. @Display
  22.     @Cls
  23.  
  24.                               MEN ON WOMEN
  25.                               WOMEN ON MEN
  26.  
  27.                          Hard Disk Installation
  28.                                  V@Version
  29.  
  30.       Requirements:  Space  - 2.0 megabytes on hard disk drive;
  31.  
  32.                      Time   - About 3 minutes;
  33.  
  34.                      Memory - 640K RAM  (At least 525K free).
  35.  
  36.               Note:  It is only necessary to run Install once.
  37.  
  38.                      Don't put "Disk One" away.  You'll need it at
  39.                      the end of Install.
  40.  
  41. @Pause
  42. @EndDisplay
  43.  
  44.  
  45.  
  46.  
  47.  
  48. @GetOutDrive
  49.   @Suppress A
  50.   @Suppress B
  51.   @Cls
  52.  
  53.                 To which drive should INSTALL copy the files?
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.              Use <Arrow Keys> to select from multiple hard drives.
  64.              
  65.                           Press <Enter> to continue.
  66.  
  67. @EndOutDrive
  68.  
  69.  
  70.  
  71. @Display
  72.   @If (@DiskFree @OutDrive < 2000000)
  73.  
  74.       There is insufficient free space on Destination Drive @OutDrive.
  75.  
  76.       Free Bytes Available: @DiskFree @OutDrive   Bytes Required: 2,000,000.
  77.  
  78.       This installation program is going to terminate.
  79.  
  80.       Select a different hard drive or free space on current choice.
  81.  
  82.  
  83.       @Pause
  84.       @Abort
  85.   @EndIf
  86. @EndDisplay
  87.  
  88.  
  89.  
  90. @GetSubdir
  91.     @Cls
  92.  
  93.  
  94.     Men on Women/Women on Men should be installed in its own subdirectory.
  95.  
  96.     You may change the directory below if necessary.
  97.  
  98.     Press <Enter> to continue.
  99.  
  100.  
  101.  
  102.     @Prompt = "Which subdirectory (<Enter> = @Subdir) ?"
  103. @EndSubdir
  104.  
  105.  
  106.  
  107.  
  108.  
  109.    @DefineDisk
  110.           @Label = "DISK ONE"
  111.  
  112.  
  113.     @BeginLib DISKONE.LIF
  114.         @File   MENWOMEN.DAT
  115.         @File    MENWOMEN.IX
  116.     @EndLib
  117.  
  118.  
  119.  @EndDisk
  120.  
  121.  
  122.     @DefineDisk
  123.           @Label = "DISK TWO"
  124.  
  125.  
  126.     @BeginLib DISKTWO.LIF
  127.         @File         MW.EXE
  128.         @File     READER.HLP
  129.         @File     CONFIG.DAT
  130.         @File      CONFIG.IX
  131.                 @File      READ.ME
  132.                 @File      EXAMPLES.DOC
  133.     @EndLib
  134.  
  135.  
  136.  
  137.  
  138.  @EndDisk
  139.  
  140.  
  141.  
  142.  
  143.  
  144. @Finish
  145.     @Cls
  146.     @Name is about to begin.
  147.  
  148.  
  149.     @Pause
  150.  
  151.     @ChDrive @OutDrive        /* change to the output drive */
  152.     @ChDir "@Subdir"        /* change to the output subdirectory */
  153.     @Execute "mw"," "    /* execute the program vcdemo */
  154.  
  155. @EndFinish
  156.  
  157. /* end-of-file */
  158.